A Java runtime session is defined by the JMSessionRef object, which has the following type definition:
typedef struct JMSession* JMSessionRef;